package martial.arts.tracker

class Payment {

    boolean paid
//    Double amountDue
    Date dueDate
    //Account account
    PaymentRule paymentRule
    Date dateCreated
    Date lastUpdated


    static belongsTo = [account: Account]

    static constraints = {
    }

    String toString() {return "${paymentRule.name} - \$${paymentRule.amountPaid} - Paid: ${paid}"}

}
